package com.dorm.cj.dr;

import com.lmax.disruptor.EventHandler;

/**
 * 定义事件处理具体实现
 */
public class MyEventHandler implements EventHandler<MyEvent> {
    @Override
    public void onEvent(MyEvent myEvent, long l, boolean b) throws Exception {

        System.out.println("------MyEventHandler--------");
        System.out.println(myEvent.toString());
    }
}
